<template>
  <div class="demo-block">
    <div class="title">
      {{ title }}
    </div>
    <div class="wrapper">
      <slot />
    </div>
  </div>
</template>

<script>
export default {
  props: {
    title: { type: String, default: '' },
  },
};
</script>

<style scoped lang="stylus">
.demo-block {
    background-color white
    .title {
        height 50px
        line-height 50px
        padding 0 15px
        background-color #eeeeee
        color #4d4d4d
    }
}
</style>
